package com.fizz.redpacket.service;


import com.fizz.redpacket.entities.UserGetRecord;
import com.fizz.redpacket.entities.UserSendRecord;
import com.fizz.redpacket.error.NoSuchRedPacket;
import java.util.List;

public interface RedPacketService {
  String sendPacket(String paramString1, String paramString2, int paramInt);
  
  UserGetRecord grabRedPacket(String paramString1, String paramString2) throws NoSuchRedPacket;
  
  List<UserSendRecord> getUserSendRecord(String paramString, int paramInt1, int paramInt2);
  
  List<UserGetRecord> getUserGetRecord(String paramString, int paramInt1, int paramInt2);

  boolean addAccount(String userId, String money);
}